package org.mybatis.generator.internal.types;

import java.sql.Types;

import org.mybatis.generator.api.dom.java.FullyQualifiedJavaType;

public class MyJavaTypeResolverDefaultImpl extends JavaTypeResolverDefaultImpl {
	public MyJavaTypeResolverDefaultImpl() {
		super(); // 把数据库的 NVARCHAR2 映射成String
		super.typeMap.put(Types.OTHER,
				new JdbcTypeInformation("NVARCHAR", new FullyQualifiedJavaType(String.class.getName())));
	}
}
